2005-06-21 Matthias Clasen <mclasen@redhat.com>
- * gtk/gtklabel.h: Consistently use gchar. (#303455,
- Benoit Carpentier)
+ * gtk/*.h: Trivial cleanups. (#169647, #303455,
+ Fabricio Barros Cabral, Benoit Carpentier)
* gdk/gdk.symbols:
* gdk/gdkwindow.h:
2005-06-21 Matthias Clasen <mclasen@redhat.com>
- * gtk/gtklabel.h: Consistently use gchar. (#303455,
- Benoit Carpentier)
+ * gtk/*.h: Trivial cleanups. (#169647, #303455,
+ Fabricio Barros Cabral, Benoit Carpentier)
* gdk/gdk.symbols:
* gdk/gdkwindow.h:
2005-06-21 Matthias Clasen <mclasen@redhat.com>
- * gtk/gtklabel.h: Consistently use gchar. (#303455,
- Benoit Carpentier)
+ * gtk/*.h: Trivial cleanups. (#169647, #303455,
+ Fabricio Barros Cabral, Benoit Carpentier)
* gdk/gdk.symbols:
* gdk/gdkwindow.h:
#include <gdk/gdk.h>
#include <gtk/gtkobject.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
+G_BEGIN_DECLS
#define GTK_TYPE_ADJUSTMENT (gtk_adjustment_get_type ())
#define GTK_ADJUSTMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ADJUSTMENT, GtkAdjustment))
void gtk_adjustment_set_value (GtkAdjustment *adjustment,
gdouble value);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
+G_END_DECLS
#endif /* __GTK_ADJUSTMENT_H__ */
#include <gtk/gtkbin.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
+G_BEGIN_DECLS
#define GTK_TYPE_ALIGNMENT (gtk_alignment_get_type ())
#define GTK_ALIGNMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ALIGNMENT, GtkAlignment))
guint *padding_left,
guint *padding_right);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GTK_ALIGNMENT_H__ */
#include <gtk/gtkmisc.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define GTK_TYPE_ARROW (gtk_arrow_get_type ())
GtkShadowType shadow_type);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GTK_ARROW_H__ */
#include <gtk/gtkenums.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
/* Binding sets
GType return_type,
guint n_params,
...);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+
+G_END_DECLS
#endif /* __GTK_BINDINGS_H__ */
#include <gtk/gtkcontainer.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define GTK_TYPE_BOX (gtk_box_get_type ())
GtkPackType pack_type);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GTK_BOX_H__ */
#include <gtk/gtkcellrenderer.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+
+G_BEGIN_DECLS
#define GTK_TYPE_CELL_RENDERER_PIXBUF (gtk_cell_renderer_pixbuf_get_type ())
GType gtk_cell_renderer_pixbuf_get_type (void) G_GNUC_CONST;
GtkCellRenderer *gtk_cell_renderer_pixbuf_new (void);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+
+G_END_DECLS
+
#endif /* __GTK_CELL_RENDERER_PIXBUF_H__ */
#include <pango/pango.h>
#include <gtk/gtkcellrenderer.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+
+G_BEGIN_DECLS
#define GTK_TYPE_CELL_RENDERER_TEXT (gtk_cell_renderer_text_get_type ())
gint number_of_rows);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GTK_CELL_RENDERER_TEXT_H__ */
#include <gtk/gtkcellrenderer.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+
+G_BEGIN_DECLS
#define GTK_TYPE_CELL_RENDERER_TOGGLE (gtk_cell_renderer_toggle_get_type ())
void gtk_cell_renderer_toggle_set_active (GtkCellRendererToggle *toggle,
gboolean setting);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+
+G_END_DECLS
#endif /* __GTK_CELL_RENDERER_TOGGLE_H__ */
#include <gtk/gtkvscrollbar.h>
#include <gtk/gtkenums.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+
+G_BEGIN_DECLS
+
/* clist flags */
enum {
GtkCListRow *clist_row,
gint column);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+
+G_END_DECLS
+
#endif /* __GTK_CLIST_H__ */
#include <gtk/gtkdialog.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define GTK_TYPE_FILE_SELECTION (gtk_file_selection_get_type ())
gboolean select_multiple);
gboolean gtk_file_selection_get_select_multiple (GtkFileSelection *filesel);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+
+G_END_DECLS
#endif /* __GTK_FILESEL_H__ */
#include <gtk/gtkbin.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define GTK_TYPE_FRAME (gtk_frame_get_type ())
GtkShadowType type);
GtkShadowType gtk_frame_get_shadow_type (GtkFrame *frame);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+
+G_END_DECLS
#endif /* __GTK_FRAME_H__ */
#include <gtk/gtkscrollbar.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define GTK_TYPE_HSCROLLBAR (gtk_hscrollbar_get_type ())
GtkWidget* gtk_hscrollbar_new (GtkAdjustment *adjustment);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GTK_HSCROLLBAR_H__ */
#include <gtk/gtkimcontext.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+
+G_BEGIN_DECLS
#define GTK_TYPE_IM_CONTEXT_SIMPLE (gtk_im_context_simple_get_type ())
guint16 *data,
gint max_seq_len,
gint n_seqs);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+
+
+G_END_DECLS
#endif /* __GTK_IM_CONTEXT_SIMPLE_H__ */
#ifndef __GTK_IM_MODULE_H__
#define __GTK_IM_MODULE_H__
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+
+G_BEGIN_DECLS
+
#include <gtk/gtkimcontext.h>
GtkIMContext *im_module_create (const gchar *context_id);
*/
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+
+G_END_DECLS
+
#endif /* __GTK_IM_MODULE_H__ */
#include <gtk/gtkitem.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define GTK_TYPE_LIST_ITEM (gtk_list_item_get_type ())
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GTK_LIST_ITEM_H__ */
#include <gtk/gtktreemodel.h>
#include <gtk/gtktreesortable.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+
+G_BEGIN_DECLS
+
#define GTK_TYPE_LIST_STORE (gtk_list_store_get_type ())
#define GTK_LIST_STORE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_LIST_STORE, GtkListStore))
GtkTreeIter *position);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GTK_LIST_STORE_H__ */
#include <gtk/gtkmenushell.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define GTK_TYPE_MENU_BAR (gtk_menu_bar_get_type ())
void _gtk_menu_bar_cycle_focus (GtkMenuBar *menubar,
GtkDirectionType dir);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+
+G_END_DECLS
#endif /* __GTK_MENU_BAR_H__ */
#include <gtk/gtksettings.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+
+G_BEGIN_DECLS
+
/* Functions for use within GTK+
*/
gchar ***argv);
typedef void (*GtkModuleDisplayInitFunc) (GdkDisplay *display);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+
+G_END_DECLS
+
#endif /* __GTK_MODULES_H__ */
#include <gtk/gtkwidget.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define GTK_TYPE_RANGE (gtk_range_get_type ())
gdouble _gtk_range_get_wheel_delta (GtkRange *range,
GdkScrollDirection direction);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+
+G_END_DECLS
#endif /* __GTK_RANGE_H__ */
#ifndef __GTK_RBTREE_H__
#define __GTK_RBTREE_H__
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+
+G_BEGIN_DECLS
+
#include <glib.h>
typedef enum
void _gtk_rbtree_debug_spew (GtkRBTree *tree);
#endif
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+
+G_END_DECLS
+
#endif /* __GTK_RBTREE_H__ */
#include <gtk/gtkviewport.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define GTK_TYPE_SCROLLED_WINDOW (gtk_scrolled_window_get_type ())
gint _gtk_scrolled_window_get_scrollbar_spacing (GtkScrolledWindow *scrolled_window);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+
+G_END_DECLS
#endif /* __GTK_SCROLLED_WINDOW_H__ */
#include <gtk/gtkmenushell.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
/* This is a private uninstalled header shared between GtkTextView and GtkEntry */
gpointer data);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GTK_TEXT_UTIL_H__ */
#define __GTK_TREE_PRIVATE_H__
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
+
#include <gtk/gtktreeview.h>
#include <gtk/gtktreeselection.h>
gint *right);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GTK_TREE_PRIVATE_H__ */
#include <glib-object.h>
#include <gtk/gtktreeview.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+
+G_BEGIN_DECLS
+
#define GTK_TYPE_TREE_SELECTION (gtk_tree_selection_get_type ())
#define GTK_TREE_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_SELECTION, GtkTreeSelection))
GtkTreePath *end_path);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GTK_TREE_SELECTION_H__ */
#include <gtk/gtktreesortable.h>
#include <stdarg.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+
+G_BEGIN_DECLS
+
#define GTK_TYPE_TREE_STORE (gtk_tree_store_get_type ())
#define GTK_TREE_STORE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_STORE, GtkTreeStore))
GtkTreeIter *position);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GTK_TREE_STORE_H__ */
#include <gtk/gtktreeviewcolumn.h>
#include <gtk/gtkdnd.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+
+G_BEGIN_DECLS
+
typedef enum
{
gpointer data,
GtkDestroyNotify destroy);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+
+G_END_DECLS
#endif /* __GTK_TREE_VIEW_H__ */
/* Not needed, retained for compatibility -Yosh */
#include <gtk/gtkobject.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+
+G_BEGIN_DECLS
+
#define GTK_TYPE_TREE_VIEW_COLUMN (gtk_tree_view_column_get_type ())
#define GTK_TREE_VIEW_COLUMN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_VIEW_COLUMN, GtkTreeViewColumn))
gint *width);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
+
#endif /* __GTK_TREE_VIEW_COLUMN_H__ */
#include <gtk/gtkbbox.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define GTK_TYPE_VBUTTON_BOX (gtk_vbutton_box_get_type ())
#endif
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GTK_VBUTTON_BOX_H__ */
#include <gtk/gtkbox.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define GTK_TYPE_VBOX (gtk_vbox_get_type ())
gint spacing);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GTK_VBOX_H__ */
#include <gtk/gtkbin.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define GTK_TYPE_VIEWPORT (gtk_viewport_get_type ())
GtkShadowType gtk_viewport_get_shadow_type (GtkViewport *viewport);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GTK_VIEWPORT_H__ */
#include <gtk/gtkpaned.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+
+G_BEGIN_DECLS
#define GTK_TYPE_VPANED (gtk_vpaned_get_type ())
GtkWidget *gtk_vpaned_new (void);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
+
#endif /* __GTK_VPANED_H__ */
#include <gtk/gtkruler.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define GTK_TYPE_VRULER (gtk_vruler_get_type ())
GtkWidget* gtk_vruler_new (void);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GTK_VRULER_H__ */
#include <gtk/gtkscale.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define GTK_TYPE_VSCALE (gtk_vscale_get_type ())
gdouble step);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GTK_VSCALE_H__ */
#include <gtk/gtkscrollbar.h>
+G_BEGIN_DECLS
+
+
#define GTK_TYPE_VSCROLLBAR (gtk_vscrollbar_get_type ())
#define GTK_VSCROLLBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_VSCROLLBAR, GtkVScrollbar))
#define GTK_VSCROLLBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_VSCROLLBAR, GtkVScrollbarClass))
};
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-
GType gtk_vscrollbar_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_vscrollbar_new (GtkAdjustment *adjustment);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GTK_VSCROLLBAR_H__ */
#include <gtk/gtkseparator.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define GTK_TYPE_VSEPARATOR (gtk_vseparator_get_type ())
GtkWidget* gtk_vseparator_new (void);
+G_END_DECLS
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
#endif /* __GTK_SEPARATOR_H__ */